Xbasic

WAITDIALOG.SET_TITLE Function

Syntax

Set_Title as C(title as C)

Arguments

title

The text to display on the title bar of the progress dialog.

Description

The .SET_TITLE() method displays text on the title bar of the progress dialog.

Example

dim p3 as {waitdialog}
dim i as N
p3.create(3,"percent")
p3.has_close_button(.f.)
p3.set_title("Count from 1 to 100")
p3.Set_Bottom_Message("\cr\lfThis is the bottom row message")
p3.Set_Message("this is the top row message")
for i = 1 to 100
    p3.Set_Percent(i,100)
next i
p3.close()

Limitations

Desktop applications only.

See Also